﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 装备借用
    /// </summary>
    [Table("T_EquipmentBorrow")]
    public class EquipmentBorrow : BaseEntity
    {
        /// <summary>
        /// 装备名称
        /// </summary>
        [MaxLength(50)]
        public string Name { get; set; }

        /// <summary>
        /// 借用时间
        /// </summary>
        public DateTime? BorrowedTime { get; set; }

        /// <summary>
        /// 借用装备名称
        /// </summary>
        [MaxLength(50)]
        public string BorrowedName { get; set; }

        /// <summary>
        /// 预计归还时间
        /// </summary>
        public DateTime? ReturnTime { get; set; }

        /// <summary>
        /// 借用原因
        /// </summary>
        [MaxLength(50)]
        public string BorrowedReason { get; set; }
    }
}
